# coding:utf-8
#  主要用于配置文件

import os





class Config(object):
    """配置父类信息"""
    pass

class DevelopmentConfig(Config):
    """开发模式的配置信息"""
    DEBUG = True
    kafka_in_topic = "getOperationScore"
    kafkaDir = 'D:/Ck_file/model-auto-python/log/data/kafka/'  # Todo绝对路径调用
    kafka_in_bootstrap_servers = "82.156.251.32:9092"
    logDir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))+'/log/'
    pass

class ProductionConfig(Config):
    """生产环境配置信息"""
    kafka_in_topic = "getOperationScore"
    kafkaDir = '/home/model/application/model-auto-python/log/data/kafka/'  # Todo绝对路径调用
    kafka_in_bootstrap_servers = "127.0.0.1:9092"
    logDir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))+'/log/'
    pass

envs = {
    "develop":DevelopmentConfig,
    "uat":ProductionConfig
}